package com.linewell.util.query;

import java.io.Serializable;

/**  
 * File: QueryEntity.java
 * Description:
 * Copyright: Copyright (c) 2016
 * Company: 南威软件股份有限公司
 * CreateTime: 2016年8月8日 下午1:43:17  
 * @author zgui   
 * @version 1.0
 */

public class QueryEntity implements Serializable{

	/**
	 * 字段
	 */
	private String field;
	/**
	 * 查询的数据
	 */
	private Object[] value;
	/**
	 * 操作符
	 */
	private QueryOperator[] type;
	
	

	public QueryEntity() {
		super();
	}

	public QueryEntity(String field, Object[] value, QueryOperator[] type) {
		super();
		this.field = field;
		this.value = value;
		this.type = type;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public Object[] getValue() {
		return value;
	}

	public void setValue(Object[] value) {
		this.value = value;
	}

	public QueryOperator[] getType() {
		return type;
	}

	public void setType(QueryOperator[] type) {
		this.type = type;
	}
}
